package com.ios.dao;

import com.ios.entity.Attention;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AttentionMapper {

    /**
    *@Author:WenTao
    *@Description:取消关注
    *@Date:9:21 2018/7/19
    */
    int deleteByDisablerId(@Param("disabler_id1") Integer disabler_id1
            ,@Param("disabler_id2") Integer disabler_id2);

    /**
    *@Author:WenTao
    *@Description:添加关注
    *@Date:9:20 2018/7/19
    */
    int insert(Attention record);

    /**
    *@Author:WenTao
    *@Description:展示所有关注信息
    *@Date:9:57 2018/7/19
    */
    List<Attention> ShowAllAttention();

}